package com.longhu.exception;

public enum BizCodeEnum {
    APPLE_UNIT_PRICE_NOT_EXIST(1, "苹果单价为空"),
    STRAWBERRY_UNIT_PRICE_NOT_EXIST(2, "草莓单价为空"),
    MONGO_UNIT_PRICE_NOT_EXIST(3, "芒果单价为空"),
    FULL_PRICE_NOT_EXIST(4,"满多少为空！"),
    REDUCE_PRICE_NOT_EXIST(5,"满多少为空！");

    private int code;
    private String msg;
    BizCodeEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode(){
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
